﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/NPCTalk/ModeSelectUI.ui
*/



@UIBind('UI/NPCTalk/ModeSelectUI.ui')
export default class ModeSelectUI_Generate extends UIScript {
		private pveButton_Internal: mw.Button
	public get pveButton(): mw.Button {
		if(!this.pveButton_Internal&&this.uiWidgetBase) {
			this.pveButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/pveButton') as mw.Button
		}
		return this.pveButton_Internal
	}
	private pvpButton_Internal: mw.Button
	public get pvpButton(): mw.Button {
		if(!this.pvpButton_Internal&&this.uiWidgetBase) {
			this.pvpButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/pvpButton') as mw.Button
		}
		return this.pvpButton_Internal
	}
	private eduButton_Internal: mw.Button
	public get eduButton(): mw.Button {
		if(!this.eduButton_Internal&&this.uiWidgetBase) {
			this.eduButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/eduButton') as mw.Button
		}
		return this.eduButton_Internal
	}
	private exitButton_Internal: mw.Button
	public get exitButton(): mw.Button {
		if(!this.exitButton_Internal&&this.uiWidgetBase) {
			this.exitButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/exitButton') as mw.Button
		}
		return this.exitButton_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 